package cn.itmantzy.user.mapper;

import cn.itmantzy.basic.mapper.BaseMapper;
import cn.itmantzy.user.domain.User;

public interface UserMapper extends BaseMapper<User>{
    /**
     * 根据电话查询用户
     * @param phone
     * @return
     */
    User loadByPhone(String phone);

    User loadByLogininfoId(Long id);
}
